package com.grsu.TransportSystem.domain;

public class Car {
	private Integer id;
	private String model;
	private String state;
	private Person owner;
	
	public  Car()
	{}
	
	public Car(Integer id, String model, String state, Person owner) {
		super();
		this.id = id;
		this.model = model;
		this.state = state;
		this.owner = owner;
	}

	public Integer getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getModel() {
		return model;
	}
	public void setModel(String model) {
		this.model = model;
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	public Person getOwner() {
		return owner;
	}
	public void setOwner(Person owner) {
		this.owner = owner;
	}
}
